//
//  ChangPasswordViewController.m
//  VisitorFacetestingSystem
//
//  Created by 张斌 on 16/7/7.
//  Copyright © 2016年 YueShiKeJi. All rights reserved.
//

#import "ChangPasswordViewController.h"
#import "AppDelegate.h"

@interface ChangPasswordViewController ()
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *height;

@end

@implementation ChangPasswordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"fanhuijian"] style:UIBarButtonItemStylePlain target:self action:@selector(back)];
    
    self.title = @"修改密码";
    
    self.tableView.allowsSelection = NO;
}

- (void)back{
    [self.navigationController popViewControllerAnimated:YES];
}


- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    return 10;
}
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
    return 4;
}

- (void)viewDidLayoutSubviews{
    [super viewDidLayoutSubviews];
    
    self.height.constant = [UIScreen mainScreen].bounds.size.height * 104.5/667;
}


@end
